crypto/tls.serverHandshakeState.suite (field)
25 uses
crypto/tls (current package)
handshake_server.go#L29: suite *cipherSuite
handshake_server.go#L125: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random)
handshake_server.go#L362: hs.suite = selectCipherSuite(preferenceList, hs.clientHello.cipherSuites, hs.cipherSuiteOk)
handshake_server.go#L363: if hs.suite == nil {
handshake_server.go#L367: c.cipherSuite = hs.suite.id
handshake_server.go#L498: hs.suite = suite
handshake_server.go#L506: hs.hello.cipherSuite = hs.suite.id
handshake_server.go#L507: c.cipherSuite = hs.suite.id
handshake_server.go#L515: hs.finishedHash = newFinishedHash(c.vers, hs.suite)
handshake_server.go#L544: hs.hello.cipherSuite = hs.suite.id
handshake_server.go#L546: hs.finishedHash = newFinishedHash(hs.c.vers, hs.suite)
handshake_server.go#L573: keyAgreement := hs.suite.ka(c.vers)
handshake_server.go#L671: hs.masterSecret = extMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret,
handshake_server.go#L674: hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret,
handshake_server.go#L741: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_server.go#L746: if hs.suite.aead == nil {
handshake_server.go#L747: clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */)
handshake_server.go#L748: clientHash = hs.suite.mac(clientMAC)
handshake_server.go#L749: serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */)
handshake_server.go#L750: serverHash = hs.suite.mac(serverMAC)
handshake_server.go#L752: clientCipher = hs.suite.aead(clientKey, clientIV)
handshake_server.go#L753: serverCipher = hs.suite.aead(serverKey, serverIV)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |